FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER lanwp530@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

#RUN mkdir -p /jeecg-boot/config/jeecg/

WORKDIR /springboot-app

EXPOSE 8080

#ADD ./src/main/resources/jeecg ./config/jeecg
#ADD ./target/jeecg-system-start-3.4.0.jar ./
ADD ./target/springboot-*.jar ./springboot-test-app.jar

#CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar jeecg-system-start-3.4.0.jar
CMD java -Djava.security.egd=file:/dev/./urandom -jar springboot-test-app.jar